<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\bean;
class StoreUserBean extends BaseBean
{

	static $id = 'id'; //id号
	static $storeId = 'store_id'; //客户id
	static $publicOpenId = 'public_open_id'; //微信公众号openid
	static $username = 'username'; //登录名
	static $password = 'password'; //密码
	static $phone = 'phone'; //手机号
	static $name = 'name'; //姓名
	static $error = 'error'; //密码错误次数
	static $status = 'status'; //状态：1启用，2停用
	static $logintime = 'logintime'; //最近已次登录时间
	static $storeRoleId = 'store_role_id'; //角色id
	static $isUpdatePw = 'is_update_pw'; //修改初始密码：1需要，2不需要
	static $memo = 'memo'; //备注
	static $updatedAt = 'updated_at'; //
	static $createdAt = 'created_at'; //
	static $ip = 'ip'; //最后操作ip

	static $tableName = 'store_user';
	static $alias = 'StoreUserBean';

		
	public function getId(){
		return $this->getParameter(self::$id);
	}

	public function setId($id){
		$this->setParameter('id',$id);
	}

	public function getStoreId(){
		return $this->getParameter(self::$storeId);
	}

	public function setStoreId($storeId){
		$this->setParameter('store_id',$storeId);
	}

	public function getPublicOpenId(){
		return $this->getParameter(self::$publicOpenId);
	}

	public function setPublicOpenId($publicOpenId){
		$this->setParameter('public_open_id',$publicOpenId);
	}

	public function getUsername(){
		return $this->getParameter(self::$username);
	}

	public function setUsername($username){
		$this->setParameter('username',$username);
	}

	public function getPassword(){
		return $this->getParameter(self::$password);
	}

	public function setPassword($password){
		$this->setParameter('password',$password);
	}

	public function getPhone(){
		return $this->getParameter(self::$phone);
	}

	public function setPhone($phone){
		$this->setParameter('phone',$phone);
	}

	public function getName(){
		return $this->getParameter(self::$name);
	}

	public function setName($name){
		$this->setParameter('name',$name);
	}

	public function getError(){
		return $this->getParameter(self::$error);
	}

	public function setError($error){
		$this->setParameter('error',$error);
	}

	public function getStatus(){
		return $this->getParameter(self::$status);
	}

	public function setStatus($status){
		$this->setParameter('status',$status);
	}

	public function getLogintime(){
		return $this->getParameter(self::$logintime);
	}

	public function setLogintime($logintime){
		$this->setParameter('logintime',$logintime);
	}

	public function getStoreRoleId(){
		return $this->getParameter(self::$storeRoleId);
	}

	public function setStoreRoleId($storeRoleId){
		$this->setParameter('store_role_id',$storeRoleId);
	}

	public function getIsUpdatePw(){
		return $this->getParameter(self::$isUpdatePw);
	}

	public function setIsUpdatePw($isUpdatePw){
		$this->setParameter('is_update_pw',$isUpdatePw);
	}

	public function getMemo(){
		return $this->getParameter(self::$memo);
	}

	public function setMemo($memo){
		$this->setParameter('memo',$memo);
	}

	public function getUpdatedAt(){
		return $this->getParameter(self::$updatedAt);
	}

	public function setUpdatedAt($updatedAt){
		$this->setParameter('updated_at',$updatedAt);
	}

	public function getCreatedAt(){
		return $this->getParameter(self::$createdAt);
	}

	public function setCreatedAt($createdAt){
		$this->setParameter('created_at',$createdAt);
	}

	public function getIp(){
		return $this->getParameter(self::$ip);
	}

	public function setIp($ip){
		$this->setParameter('ip',$ip);
	}


}
